package com.ihisomp.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/**
 * 标题: OrgRoleDto.java
 * 业务描述: 机构角色DTO
 * 作者: zy
 * 日期: 2022/4/12
 * 版本: V1.0
 */
@ApiModel(value = "机构角色数据类")
public class OrgRoleDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色主键")
    private String roleKey;

    @ApiModelProperty(value = "机构主键")
    private String orgKey;

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "简拼")
    private String py;

    @ApiModelProperty(value = "顺序号")
    private Integer seqNo;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty(value = "角色路径集合")
    private List<SysPathTreeDto> sysPageList;

    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey;
    }

    public String getOrgKey() {
        return orgKey;
    }

    public void setOrgKey(String orgKey) {
        this.orgKey = orgKey;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPy() {
        return py;
    }

    public void setPy(String py) {
        this.py = py;
    }

    public Integer getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(Integer seqNo) {
        this.seqNo = seqNo;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public List<SysPathTreeDto> getSysPageList() {
        return sysPageList;
    }

    public void setSysPageList(List<SysPathTreeDto> sysPageList) {
        this.sysPageList = sysPageList;
    }

    @Override
    public String toString() {
        return "OrgRoleDto{" +
                "roleKey='" + roleKey + '\'' +
                ", orgKey='" + orgKey + '\'' +
                ", roleName='" + roleName + '\'' +
                ", py='" + py + '\'' +
                ", seqNo=" + seqNo +
                ", note='" + note + '\'' +
                ", sysPageList=" + sysPageList +
                '}';
    }
}
